package com.niit.session3;

public class Compare {
//	方法的重载
	public static void compare(byte a, byte b) {
		System.out.println(a == b);
	}
	public static void compare(short a, short b) {
		System.out.println(a == b);
	}
	public static void compare(int a, int b) {
		System.out.println(a == b);
	}
	public static void compare(long a, long b) {
		System.out.println(a == b);
	}
	public static void main(String[] args) {
		byte a = 1;
		byte b = 1;
		compare(a, b);
	}

}
